package com.jiantong.work.service.yangzhibaoxian;

import com.jiantong.work.model.yangzhibaoxian.InsuranceApplication;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;

import java.util.List;
import java.util.Map;

/**
 * Created by ThinkPad on 2017/8/30.
 */
public interface InsuranceApplicationService {

    Response<InsuranceApplication> findBynumber(String number);

    Response<InsuranceApplication> findById(Long id);

    Response<List<InsuranceApplication>> findByIds(List ids);

    Response<List<InsuranceApplication>> list(Map map);

    Response<Paging<InsuranceApplication>> ping(Integer offset, Integer limit,Map map);

    Boolean update(InsuranceApplication  insuranceApplication);

    Long create(InsuranceApplication insuranceApplication);

    Integer creates(List<InsuranceApplication> insuranceApplicationList);


}
